package com.sofwin.service;

import com.github.pagehelper.PageInfo;
import com.sofwin.pojo.SysDept;

import java.util.List;

/**
 * @packageName: com.sofwin.service
 * @author: andyliu
 * @date: 2022/8/4 15:12
 * @email 115176513@qq.com
 * @description: TODO
 */

public interface DeptService {

    boolean saveDept(SysDept dept);

    boolean removeById(Integer id);

    SysDept queryById(Integer id);

    PageInfo<SysDept> queryByPage(SysDept dept,Integer pageNumber,Integer pageSize);

    List<SysDept> queryDepts(SysDept dept);
}
